﻿using Newtonsoft.Json;

namespace Common.Identity;

public class UserInfo
{
    [JsonProperty("companyCode")]
    public string CompanyCode { get; set; }
    public string Uv { get; set; }
    public string Username { get; set; }
    [JsonProperty("src_client_id")]
    public string SrcClientId { get; set; }
    
    [JsonProperty("user_agent")]
    public string UserAgent { get; set; }
    public string Jti { get; set; }
    public string MainPageUrl { get; set; }
    public int Exp { get; set; }
    public string UserUuid { get; set; }
    public int UserId { get; set; }
    public string Platform { get; set; }
    public string MobileMainPageUrl { get; set; }
    public string Language { get; set; }
    
    [JsonProperty("display_name")]
    public string DisplayName { get; set; }
    [JsonProperty("companyCode_alias")]
    public string CompanyCodeAlias { get; set; }

    public string BearerToken { get; set; }
}